package com.ssuu.ssuusnow.project.manage.menu_role.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 角色  菜单
 * </p>
 *
 * @author sun
 * @since 2023-06-14
 */
@TableName("su_menu_role")
@ApiModel(value = "MenuRole对象", description = "角色  菜单")
public class MenuRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long menuID;

    @JsonSerialize(using= ToStringSerializer.class)
    private Long roleID;


    public Long getMenuID() {
        return menuID;
    }

    public void setMenuID(Long menuID) {
        this.menuID = menuID;
    }

    public Long getRoleID() {
        return roleID;
    }

    public void setRoleID(Long roleID) {
        this.roleID = roleID;
    }

    @Override
    public String toString() {
        return "MenuRole{" +
        "menuID=" + menuID +
        ", roleID=" + roleID +
        "}";
    }
}
